package com.eusoft.grades.school;
/**
 * @author Nick Eubanks
 * 
 * Copyright (C) 2010 Android Infinity (http://www.androidinfinity.com)
 *
 */
import java.io.Serializable;
import java.util.ArrayList;

/**
 * 
 * @author Nick Eubanks
 */

public class GradeScale implements Serializable {

	private static final long serialVersionUID = 1163605219907426104L;
	Letter A = new Letter("A", 94, 4);
	Letter Am = new Letter("A-", 90, 3.667);
	Letter Ap = new Letter("A+", 100, 4.334);
	Letter B = new Letter("B", 84, 3);
	Letter Bm = new Letter("B-", 80, 2.667);
	Letter Bp = new Letter("B+", 86, 3.334);
	Letter C = new Letter("C", 74, 2);
	Letter Cm = new Letter("C-", 70, 1.667);
	Letter Cp = new Letter("C+", 76, 2.334);
	Letter D = new Letter("D", 64, 1);
	Letter Dm = new Letter("D-", 60, .667);
	Letter Dp = new Letter("D+", 66, 1.334);

	public ArrayList<Letter> scale = new ArrayList<Letter>();

	/**
	 * Creates a @scale arraylist with indexes from 0 to 11 starts with lowest
	 * grade cut off (scale.get(#).lowerBound) and goes to highest for easier
	 * loop use use scale.get(#).identifier for the string version use
	 * scale.get(#).gradepoints for grade point value of letter
	 * 
	 * 0: D- 1: D 2: D+ 3: C- 4: C 5: C+ 6: B- 7: B 8: B+ 9: A- 10: A 11: A+
	 */

	GradeScale() { // default
		scale.add(Dm);
		scale.add(D);
		scale.add(Dp);
		scale.add(Cm);
		scale.add(C);
		scale.add(Cp);
		scale.add(Bm);
		scale.add(B);
		scale.add(Bp);
		scale.add(Am);
		scale.add(A);
		scale.add(Ap);

	}
	
	public GradeScale(boolean empty){
		
	}

}
